<?php htmlTemplate('admin_header_frame.php');?>
<div class="title">用户注册统计

</div>


<table width="100%" cellspacing="1" cellpadding="3" id="listTable">
  <tbody>
    	<tr>
		<td colspan="2">
		<form action="" method="get">			
		日期：<input 
			id="c_sregist_time" 
			name="c_sregist_time" 
			type="text" 
			style="width:65px;"
			value='<?php 
			if (Http::get('c_sregist_time')){
				echo Http::get('c_sregist_time');
			}
			?>' class='date demo_time'  
			onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
			>-<input 
			id="c_eregist_time" 
			name="c_eregist_time" 
			type="text" 
			style="width:65px;"
			value='<?php 				 
			if (Http::get('c_eregist_time')){
				echo Http::get('c_eregist_time');
			}
			?>' class='date demo_time'  
			onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
			>
		<input type="submit" value="搜 索" class="btn"> 
		
		</form>
		</td>
	</tr>
  
  <tr>
  	<th align="left" width="10%">日期</th>  
    <th>注册数量</th>     
  </tr>

	<?php 
	$sumregnum=0;
	if ($rs){
	foreach ($rs as $k=>$v):
	$sumregnum = $sumregnum+ $v['count_new_regist'];
	?>
   <tr>
    <td align="left" width="10%"> <?php echo $v['regdate'];?></td>
    <td align="center">
	<?php echo $v['count_new_regist'];?>
	</td>      
  </tr>
  <?php endforeach;}?>
  <tr style="background: #F4FAFB;">
  <td align="left">合计</td>
	<td align="center"><? echo $sumregnum;?></td>
</tr>
 
 
  </tbody>
</table>
<?php htmlTemplate('admin_footer_frame.php');?>